package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class DynamicTwo {

    @JSONField(name = "content")
    private String content;
    @JSONField(name = "count")
    private int count;
    @JSONField(name = "date")
    private String date;
    @JSONField(name = "dianzan")
    private boolean dianzan;
    @JSONField(name = "follower")
    private boolean follower;
    @JSONField(name = "id")
    private String id;
    @JSONField(name = "imgs")
    private List<String> imgs;
    @JSONField(name = "member")
    private MemberDTO member;

    @NoArgsConstructor
    @Data
    public static class MemberDTO {
        @JSONField(name = "area")
        private String area;
        @JSONField(name = "autoId")
        private int autoId;
        @JSONField(name = "gender")
        private int gender;
        @JSONField(name = "imgUrl")
        private String imgUrl;
        @JSONField(name = "mid")
        private String mid;
        @JSONField(name = "nickName")
        private String nickName;
        @JSONField(name = "serviceLevel")
        private int serviceLevel;
    }
}
